package iie.cas.guishuimall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 引入openfeign,编写接口，声明每个方法调用的远程服务的那个请求，开启远程调用功能；
 */

@EnableFeignClients("iie.cas.guishuimall.member.feign")
@EnableDiscoveryClient
@MapperScan("iie.cas.guishuimall.member.dao")
@SpringBootApplication
public class GuishuimallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuishuimallMemberApplication.class, args);
    }

}
